<template>
  <div id="headTitle">
    <div class="yh-layout-box">
      <div class="title-left">
        <span class="title-logo">
          <img class="yh-middle" src="@/assets/images/meal/logo.png">
        </span>
        <span class="title-name">
          {{ title }}
        </span>
      </div>
      <!-- <div class="title-text">
        我已注册，马上<span class="yh-text-color">登录</span>
      </div> -->
    </div>
  </div>

</template>

<script>
export default {
  props: ['title'],
  created() {

  }
}
</script>

<style scoped lang="scss">
#headTitle{
  overflow: hidden;
  background-color: #FFF;
  padding-top: 16px;
  padding-bottom: 19px;
  font-size: 12px;
  .title-left{
    float: left;
    .title-name{
      color: #333333;
      font-size: 18px;
      margin-left: 42px;
    }
  }
  .title-text{
    float: right;
    font-size: 14px;
    line-height: 40px;
    color: #333333;
  }
}
</style>
